
import java.util.*;

public class tests {

    public static void main(String args[]) {

        List<Graph> tests = new ArrayList();

//tests.add(new Graph("ourgraph10.txt"));
//        tests.add(new Graph("ourgraph19.txt"));
//        tests.add(new Graph("ourgraph19B.txt"));
/*
ourgraph19.txt = 43799735, completed in 68 seconds
ourgraph19B.txt = 19807203, completed in 30 seconds
line (39) = 102334154, completed in 34 seconds
bipartite (9,9) = 17572113, completed in 21 seconds
Complete (16) = 46206735, completed in 100 seconds
bipartite (1,2000) = 2000, completed in 2 seconds
bipartite (8,12) = 76751232, completed in 100 seconds
cycle (38) = 87403802, completed in 34 seconds
wheel (30) = 12857077, completed in 41 seconds
random15.txt = 202152, completed in 0 seconds
random20A.txt = 2219652, completed in 2 seconds
random20B.txt = 353703, completed in 0 seconds

*/
//tests.add(Graph.kkgraphgen(9,9));
tests.add(new Graph("random15.txt"));
tests.add(new Graph("random20A.txt"));
tests.add(new Graph("random20B.txt"));
        tests.add(new Graph("random30.txt"));

//tests.add(new Graph("random50A.txt"));
//tests.add(new Graph("random50B.txt"));

//        tests.add(Graph.lgen(39));
//tests.append( tgen(25))
//        tests.add(Graph.kkgraphgen(9, 9));
//        tests.add(Graph.kgraphgen(16));
//        tests.add(Graph.kkgraphgen(1, 2000));
//        tests.add(Graph.kkgraphgen(8, 12));
//        tests.add(Graph.cgen(38));
//        tests.add(Graph.wgen(30));



//        tests.add(new Graph("random15.txt"));
//        tests.add(new Graph("random20A.txt"));
//        tests.add(new Graph("random20B.txt"));
//        tests.add(new Graph("random30.txt"));
//        tests.add(new Graph("random50A.txt"));
//        tests.add(new Graph("random50B.txt"));


//tests.add(Graph.kgraphgen(5));
//tests.add(Graph.kgraphgen(5));
//tests.add(Graph.kgraphgen(6));
//tests.add(Graph.kgraphgen(6));
//tests.add(Graph.kgraphgen(6));
//tests.add(Graph.kgraphgen(7));
//tests.add(Graph.kgraphgen(7));
//tests.add(Graph.kgraphgen(7));
//tests.add(Graph.kkgraphgen(4, 4));
//tests.add(Graph.kkgraphgen(4, 4));
//tests.add(Graph.kkgraphgen(5, 5));
//tests.add(Graph.wgen(5));
//tests.add(Graph.wgen(5));
//tests.add(Graph.cgen(5));
//tests.add(Graph.cgen(5));

        long t;
        double eta = 0.2;
        for(int i = 0; i < 1; i++){
            System.out.println(eta);
        for (Graph g : tests) {
            t = System.currentTimeMillis();
            System.out.println("dcount || " + g.name + " = " + dcount.dcount(g) + ", completed in " + ((System.currentTimeMillis() - t) / 1000) + " seconds");

//	        t=System.currentTimeMillis();
  //          System.out.println("scount || " + g.name + " = " +
//            scount.scount(g,eta) + ", completed in " + ((System.currentTimeMillis() - t) / 1000) + " seconds");
        }
        System.out.println();
        eta += 0.2;
        }
    }
}
